package com.ming;

/**
 * Created with IntelliJ IDEA.
 * Description:
 */
public class demo {
    public static void main(String[] args) {
        Shape shape = new Shape() {
            @Override
            public void draw() {
                System.out.println("draw()!");
            }
        };
        shape.draw();
    }
}
